package asf.events
{
	import br.com.stimuli.loading.BulkProgressEvent;

	public class ApplicationLoadProgressEvent extends BulkProgressEvent
	{
		public static const DEPENDENCIES_LOAD_START:String = "dependenciesLoadStart";
		public static const DEPENDENCIES_LOAD_PROGRESS:String = BulkProgressEvent.PROGRESS;
		public static const DEPENDENCIES_LOAD_COMPLETE:String = "dependenciesLoadComplete";
		public static const DEPENDENCIES_LOAD_ERROR:String = "dependenciesLoadError";
		
		private var _name:String;
		
		public function ApplicationLoadProgressEvent(name:String, bubbles:Boolean=true, cancelable:Boolean=false)
		{
			super(name, bubbles, cancelable);
			
			_name = name;
		}
		
		public function set type( value:String ):void
		{
			_name = value;
		}
		
		public override function get type():String
		{
			return _name;
		}
	}
}